$OpenBSD: patch-skia_ext_SkMemory_new_handler_cpp,v 1.5 2016/10/26 06:22:08 robert Exp $
--- skia/ext/SkMemory_new_handler.cpp.orig.port	Wed Oct 12 21:03:02 2016
+++ skia/ext/SkMemory_new_handler.cpp	Wed Oct 19 12:56:08 2016
@@ -68,7 +68,7 @@ static void* sk_malloc_nothrow(size_t size) {
     // TODO(b.kelemen): we should always use UncheckedMalloc but currently it
     // doesn't work as intended everywhere.
     void* result;
-#if  defined(OS_IOS)
+#if  defined(OS_IOS) || defined(OS_BSD)
     result = malloc(size);
 #else
     // It's the responsibility of the caller to check the return value.
